﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LevelEditor
{
    class State
    {
        public static State getInstance()
        {
            if (instance == null)
                instance = new State();
            return instance;
        }

        public bool IsFileSaved
        {
            set
            {
                _isFileSaved = value;
            }
            get
            {
                return _isFileSaved;
            }
        }

        private State()
        {
            _isFileSaved = false;
        }

        private bool _isFileSaved;

        private static State instance;
    }
}
